﻿// <com.woyouqiu.Copyright>
// --------------------------------------------------------------
// <copyright>上海有求网络科技有限公司 2015</copyright>
// <Solution>Vecen.BangChuang</Solution>
// <Project>Vecen.BangChuang.Net.Sms</Project>
// <FileName>SmsMessage.cs</FileName>
// <CreateTime>2017-04-29 20:49</CreateTime>
// <Author>何苗</Author>
// <Email>hemiao@woyouqiu.com</Email>
// <log date="2017-04-29 20:49" version="00001">创建</log>
// --------------------------------------------------------------
// </com.woyouqiu.Copyright>

using System.Collections.Generic;

namespace Vecen.BangChuang.Net.Sms {
    public class SmsMessageDto {
        /// <summary>
        /// Sms Message
        /// </summary>
        /// <param name="receiverPhone">Receiver</param>
        /// <param name="templateCode">template code</param>
        /// <param name="templateParams">template parameters</param>
        /// <param name="freeSignName">free sign name</param>
        public SmsMessageDto(string receiverPhone, string templateCode, List<string> templateParams, string freeSignName = "") {
            ReceiverPhone = receiverPhone;
            TemplateCode = templateCode;
            TemplateParams = templateParams;
            FreeSignName = freeSignName;
        }

        /// <summary>
        /// Receiver
        /// </summary>
        public string ReceiverPhone { get; set; }

        /// <summary>
        /// Template code or content
        /// </summary>
        public string TemplateCode { get; set; }

        /// <summary>
        /// Template parameters
        /// </summary>
        public List<string> TemplateParams { get; set; }

        /// <summary>
        /// Free SignName
        /// </summary>
        public string FreeSignName { get; set; }
    }
}